﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplicationDemo._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <table id="regTable" style="width: 90%">
        <tbody>
            <tr>
                <td style="width: 100px;">
                    解决方案:
                </td>
                <td>
                    <input id="casename" name="casename" type="text" value="" valid="required" errmsg="解决方案不能为空" >
                    <span id="errMsg_casename" style="color: #FF0000"></span>
                </td>
            </tr>
            <tr>
                <td>
                    姓名:
                </td>
                <td>
                    <input id="name" name="name" type="text" value="" valid="required" errmsg="姓名不能为空">
                    <span id="errMsg_name" style="color: #FF0000"></span>
                </td>
            </tr>
            <tr>
                <td>
                    性别:
                </td>
                <td>
                    <table id="sex" border="0">
                        <tbody>
                            <tr>
                                <td>
                                    <input id="sex_0" type="radio" name="sex" value="男"><label for="sex_0">男</label>
                                </td>
                                <td>
                                    <input id="sex_1" type="radio" name="sex" value="女" valid="requireChecked" min="1"
                                        errmsg="性别不能为空"><label for="sex_1">女</label>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <span id="errMsg_sex" style="color: #FF0000"></span>
                </td>
            </tr>
            <tr>
                <td>
                    公司:
                </td>
                <td>
                    <input id="company" name="company" type="text" value="">
                </td>
            </tr>
            <tr>
                <td>
                    职位:
                </td>
                <td>
                    <input id="position" name="position" type="text" value="" valid="required" errmsg="职位不能为空">
                    <span id="errMsg_position" style="color: #FF0000"></span>
                </td>
            </tr>
            <tr>
                <td>
                    电话:
                </td>
                <td>
                    <input id="phone" name="phone" type="text" value="" valid="required|regexp" regexp="((\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)"
                        errmsg="电话不能为空|请输入正确的电话号码!">
                    <span id="errMsg_phone" style="color: #FF0000"></span>
                </td>
            </tr>
            <tr>
                <td>
                    传真:
                </td>
                <td>
                    <input id="fax" name="fax" type="text" value="" valid="required|regexp" regexp="((\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)"
                        errmsg="传真不能为空|请输入正确的电话号码!">
                    <span id="errMsg_fax" style="color: #FF0000"></span>
                </td>
            </tr>
            <tr>
                <td>
                    E-mail:
                </td>
                <td>
                    <input id="email" name="email" type="text" value="" valid="required|regexp" regexp="^\w[\w-]{1,50}(\.[\w-]*)*@\w+(\.[\w-]+)+$"
                        errmsg="E-mail不能为空|请输入合法的Email!">
                    <span id="errMsg_email" style="color: #FF0000"></span>
                </td>
            </tr>
            <tr>
                <td>
                    备注:
                </td>
                <td>
                    <input id="content" name="content" type="text" value="">
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <input id="Submit1" type="submit" value="提交">
                </td>
            </tr>
        </tbody>
    </table>
</body>
</html>
